package com.emc.elc.rabbitmq.wapper.Handler.excutor;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class HandlerExcutorService {
    private static ThreadPoolExecutor excutor = new ThreadPoolExecutor(3, 3, 5, TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(5));
    public static ThreadPoolExecutor getExcutor() {
        return excutor;
    }
}
